package com.example.mchsdkjni;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.widget.TextView;

import com.mchsdk.paysdk.jni.MCHKeyTools;

public class MainActivity extends Activity {
	private static final String TAG = "mchSDKJni";
	TextView tv_1;
	Context context;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		context = this;
		initView();
		MCHKeyTools mt = MCHKeyTools.getInstance();
		System.out.println(mt.secToNor("Hg8PBgAKBAYEAg=="));
	}
	private void initView() {
		tv_1 = ((TextView) findViewById(R.id.msg1));
	}
}
